home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’96
/
PredatorPrey
/
clickloop_stuff.h
< prev
next >
Wrap
Text File
|
1996-06-22
|
552b
|
39 lines
// from TextEdit.h
#if GENERATINGCFM
•
•
•
typedef UniversalProcPtr TEClickLoopUPP;
•
•
•
#else
•
•
•
typedef Register68kProcPtr TEClickLoopUPP;
•
•
•
#endif
struct TERec {
•
•
•
TEClickLoopUPP clickLoop;
•
•
•
};
#define NewTEClickLoopProc(userRoutine) \
(TEClickLoopUPP) NewRoutineDescriptor((ProcPtr)(userRoutine), uppTEClickLoopProcInfo, GetCurrentArchitecture())
#define NewTEClickLoopProc(userRoutine) \
((TEClickLoopUPP) (userRoutine))
extern pascal void TESetClickLoop(TEClickLoopUPP clikProc, TEHandle hTE);